package com.example.demo.entity.DTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ArticleSelectDTO {

    @ApiModelProperty("文章ID")
    private Integer articleId;

    @ApiModelProperty("文章内容")
    private String article;

    @ApiModelProperty("用户基本信息")
    private ArticleUserDTO articleUserDTO;

    @ApiModelProperty("文章图片信息")
    private List<ArticleImgDTO> articleImgDTO;

    @ApiModelProperty("点赞用户信息")
    private List<ArticleUserDTO> likeUser;

    @ApiModelProperty("收藏用户信息")
    private List<ArticleUserDTO> favoritesUser;

    @ApiModelProperty("评论信息")
    private List<ArticleRemarksDTO> remarks;

}
